package com.engine4cloud.tdf.common.core.constant.enums;

import jakarta.persistence.EnumType;
import jakarta.persistence.Enumerated;
import lombok.Getter;

import java.io.Serializable;

/**
 * 接收入矫审核动作状态枚举
 */
@Getter
public enum CorAuditActionStatusEnum implements Serializable {
    CREATE("CREATE", "创建", "待指派"),

    CHANGE_PLACE("CHANGE_PLACE", "执行地变更迁入", "执行地变更迁入"),

    MIGRATE("MIGRATE", "迁居迁入", "迁居迁入"),

    COUNTRY_ASSIGN("COUNTRY_ASSIGN", "县指派", "待接收"),

    VILLAGE_REFUSE("VILLAGE_REFUSE", "所拒绝", "所拒绝"),

    VILLAGE_ACCEPT("VILLAGE_ACCEPT", "所接收", "在矫中"),
    /**
     * 已解除矫正
     */
    RELEASE("RELEASE", "矫正解除解除", "已解除矫正");

    @Enumerated(EnumType.STRING)
    private String type;
    private String desc;
    private String status;

    CorAuditActionStatusEnum(String type, String desc) {
        this.type = type;
        this.desc = desc;
    }

    CorAuditActionStatusEnum(String type, String desc, String status) {
        this.type = type;
        this.desc = desc;
        this.status = status;
    }

}
